﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LotteryVote.Entity
{
    /// <summary>
    /// 游戏类型
    /// </summary>
    public class GameType : IEntity
    {
        public const string TABLENAME = "tb_GameType";
        public const string GAMEID = "GameId";
        public const string GAMENAME = "GameName";
        public const string CREATETIME = "CreateTime";
        public const string DESCRIPTION = "Description";

        public bool ValueEquals(GameType typeB)
        {
            return this.GameId == typeB.GameId;
        }
        public readonly static GameType Empty = new GameType();
        public int GameId { get; set; }
        /// <summary>
        /// 游戏类型名称
        /// </summary>
        /// <value>
        /// The name of the game.
        /// </value>
        public string GameName { get; set; }
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 描述
        /// </summary>
        /// <value>
        /// The description.
        /// </value>
        public string Description { get; set; }
    }
}
